function name() {
	return "Map With Object";
}

function execute() {
	var source = { a: 1, b: 2 }

	panda.render("test", function($) {
		context.result = $.map(source, function(v, k){
			return [k, v * 2];
		});
	});
}

function verify() {
	var result = context.result;
	Assert.assertEquals(4, result.length, 0);

	Assert.assertEquals("a", result[0]);
	Assert.assertEquals(2, result[1], 0);

	Assert.assertEquals("b", result[2]);
	Assert.assertEquals(4, result[3], 0);
}
